<% if ShowPagination %>
    <% if TotalCount %>
    <div class="PageControls well well-sm">
        <% if FirstLink %><a class="First" href="$FirstLink" title="View first page"><img src="$ModulePath(framework)/images/pagination/record-first.png" /></a>
        <% else %><span class="First"><img src="$ModulePath(framework)/images/pagination/record-first-g.png" /></span><% end_if %>
        <% if PrevLink %><a class="Prev" href="$PrevLink" title="View previous page"><img src="$ModulePath(framework)/images/pagination/record-prev.png" /></a>
        <% else %><img class="Prev" src="$ModulePath(framework)/images/pagination/record-prev-g.png" /><% end_if %>
        <span class="Count">
            <%t DataListField_PageControls.ss.SHOW_PAGE "{first} to {last} of {total}" first=$FirstItem last=$LastItem total=$TotalCount %>
        </span>
        <% if NextLink %><a class="Next" href="$NextLink" title="View next page"><img src="$ModulePath(framework)/images/pagination/record-next.png" /></a>
        <% else %><img class="Next" src="$ModulePath(framework)/images/pagination/record-next-g.png" /><% end_if %>
        <% if LastLink %><a class="Last" href="$LastLink" title="View last page"><img src="$ModulePath(framework)/images/pagination/record-last.png" /></a>
        <% else %><span class="Last"><img src="$ModulePath(framework)/images/pagination/record-last-g.png" /></span><% end_if %>
        
    </div>
    <% end_if %>
<% end_if %>
